﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class getPosition : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["t"] == "1")
        {
            //代表xf
            Response.Write("[{id:1021,t:\"谋思网络科技\",lng:116.407845,lat:39.914101},{id:1022,t:\"裕源大厦\",lng:116.408845,lat:39.913101},{id:1023,t:\"海天大酒店\",lng:116.409845,lat:39.915101}]");

            //Response.Write("[{\"id\":1021,\"t\":\"谋思网络科技\",\"lng\":116.407845,\"lat\":39.914101},{\"id\":1022,\"t\":\"裕源大厦\",\"lng\":116.408845,\"lat\":39.913101},{\"id\":1023,\"t\":\"海天大酒店\",\"lng\":116.409845,\"lat\":39.915101}]");
        }
        if (Request.QueryString["t"] == "2")
        {
            Response.Write("[{\"id\":1021,\"t\":\"谋思网络科技\",\"n\":10,\"lng\":116.407845,\"lat\":39.914101},{\"id\":1022,\"t\":\"裕源大厦\",\"n\":10,\"lng\":116.408845,\"lat\":39.913101},{\"id\":1023,\"t\":\"海天大酒店\",\"n\":10,\"lng\":116.409845,\"lat\":39.915101}]");
            //代表esf
        }
        if (Request.QueryString["t"] == "3")
        {
            Response.Write("[{\"id\":1021,\"t\":\"谋思网络科技\",\"n\":10,\"lng\":116.407845,\"lat\":39.914101},{\"id\":1022,\"t\":\"裕源大厦\",\"n\":10,\"lng\":116.408845,\"lat\":39.913101},{\"id\":1023,\"t\":\"海天大酒店\",\"n\":10,\"lng\":116.409845,\"lat\":39.915101}]");
            //代表zf
        }
    }
}
